import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Cloudbase from "@cloudbase/vue-provider";
// 导入字体图标库
import "./assets/font/iconfont.css";
// 全局中注册方法
Vue.use(ElementUI).use(Cloudbase, {
  env: "cgc-3gi1zfana3604dcc"
});
// 将云函数挂载到全局中
// 匿名登录的封装了
import anonymousLogin from "./assets/js/anonymousLogin";
Vue.prototype.$login = anonymousLogin;
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')